// 值 as 类型
let str: any = 'pengyuyan';
let num: number = (str as string).length;
